package com.inspectionwork.model;


import com.baomidou.mybatisplus.annotation.TableName;
import com.inspectionwork.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("inspection_work")//检查工作下发
public class InspectionWork extends BasisEntity {

    private String id;//主键id
    private String title;//任务标题
    private String type;//检查类型:数据来源于字典表中的检查类型
    private String des;//任务描述
    private Date starttime;//开始时间
    private Date lowerhairtime;//任务下发时间
    private String orgId;//创建机构id
    private String createPersonId;//创建人id
    private Boolean ishaveFile;//是否有附件：0 没有 1 有
    private Boolean ishaveReceivingUnit;//是否有接收单位：0 没有 1 有
    private String orgName;//机构名称
    private Boolean allflag;//选择下属所有企业 1 是  0 否
    private String area;//行政区划id(包括上级的id，从上往下排，中间逗号隔开)
    private String bottomArea;//选择的行政区划id

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getTitle() {
        return this.getString("title");
    }

    public void setTitle(String title) {
        this.put("title",title);
    }

    public String getType() {
        return this.getString("type");
    }

    public void setType(String type) {
        this.put("type",type);
    }

    public String getDes() {
        return this.getString("des");
    }

    public void setDes(String des) {
        this.put("des",des);
    }

    public Date getStarttime() {
        return this.getDate("starttime");
    }

    public void setStarttime(Date starttime) {
        this.put("starttime",starttime);
    }

    public Date getLowerhairtime() {
        return this.getDate("lowerhairtime");
    }

    public void setLowerhairtime(Date lowerhairtime) {
        this.put("lowerhairtime",lowerhairtime);
    }

    public String getOrgId() {
        return this.getString("orgId");
    }

    public void setOrgId(String orgId) {
        this.put("orgId",orgId);
    }

    public String getCreatePersonId() {
        return this.getString("createPersonId");
    }

    public void setCreatePersonId(String createPersonId) {
        this.put("createPersonId",createPersonId);
    }

    public Boolean getIshaveFile() {
        return this.getBoolean("ishaveFile");
    }

    public void setIshaveFile(Boolean ishaveFile) {
        this.put("ishaveFile",ishaveFile);
    }

    public Boolean getIshaveReceivingUnit() {
        return this.getBoolean("ishaveReceivingUnit");
    }

    public void setIshaveReceivingUnit(Boolean ishaveReceivingUnit) {
        this.put("ishaveReceivingUnit",ishaveReceivingUnit);
    }

    public String getOrgName() {
        return this.getString("orgName");
    }

    public void setOrgName(String orgName) {
        this.put("orgName",orgName);
    }

    public Boolean getAllflag() {
        return this.getBoolean("allflag");
    }

    public void setAllflag(Boolean allflag) {
        this.put("allflag",allflag);
    }

    public String getArea() {
        return this.getString("area");
    }

    public void setArea(String area) {
        this.put("area",area);
    }

    public String getBottomArea() {
        return this.getString("bottomArea");
    }

    public void setBottomArea(String bottomArea) {
        this.put("bottomArea",bottomArea);
    }
}
